package cn.school.classManage.dao;

import cn.school.classManage.entity.ClassCurriculumMain;
import cn.school.classManage.vo.ClassCurriculumMainVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ClassCurriculumMainDao extends BaseMapper<ClassCurriculumMain> {

    /**
     * 查询课程列表
     * @param vo
     * @return
     */
    List<ClassCurriculumMainVO> findCurriculumList(@Param("vo") ClassCurriculumMainVO vo);



    /**
     * 统计班级课程总数
     * @param vo
     * @return
     */
    int findCurriculumCount(@Param("vo")ClassCurriculumMainVO vo);
}
